<div id="showGood1" style="height:260px;width:100%;">
	<div style="width:100%;height:120px;">
		<a href="javascript:void(0)" style="display:block;width:100%;height:90px;background:url(../img/dt92.jpg) no-repeat 50% 0px;"></a>
		<div id="lianxi">
			<ul id="header-center">
				<li class="header-center-left">
					<ul>
						<li><a href="javascript:void(0)">收藏中酒</a></li>
						<li><a href="javascript:void(0)">手机版&nbsp;&nbsp;&nbsp;|</a></li>
						<li><a href="javascript:void(0)" style="color:red;">中酒公告</a></li>
					</ul>
				</li>
				<li class="header-center-right">
					<ul>
						<li class="login"><a href="../registerlogin/login.html">[请登录]</a></li>
						<li class="register"><a href="../registerlogin/register.html">[快速注册]</a></li>
						<li><a href="javascript:void(0)">投诉直达</a>&nbsp;|</li>
						<li><a href="javascript:void(0)">网站导航</a>&nbsp;|</li>
						<li><a href="javascript:void(0)">订单热线:&nbsp;</a>400-798-9999</li>
					</ul>
				</li>
				<li class="clearfix"></li>
			</ul>			
		</div>
	</div>
	<div class="clearfix"></div>
	<div id="zhongjiu">
		<ul class="logo_search">
			<li class="logo"><a href="../index.html"></a></li>
			<li class="nianhaojie"><a href="javascript:void(0)"><img src="../img/nianhuojie2.gif"/></a></li>
			<li class="search">
				<div class="sb">
					<input id="search-new" type="text" placeholder="茅台"/><input id="btn" type="button" value="搜索"/>
				</div>
				<ul>
					<li>热门搜索：</li>
					<li class="red0"><a href="javascript:void(0)">满199减100</a></li>
					<li class="red0"><a href="javascript:void(0)">超值礼盒</a></li>
					<li class="red0"><a href="javascript:void(0)">新人特权</a></li>
					<li><a href="javascript:void(0)">五粮液</a></li>
					<li><a href="javascript:void(0)">茅台</a></li>
					<li><a href="javascript:void(0)">国台</a></li>
					<li><a href="javascript:void(0)">泸州老窖</a></li>
				</ul>
			</li>
			<li class="logo_pic"><div class="logo_pic1"></div></li>
			<li class="clearfix"></li>
		</ul>
		<div class="nav">
			<ul>
				<li><a class="nav-first" href="fastshopping.html">闪购</a></li>
				<li><a href="javascript:void(0)">商城</a></li>
				<li><a href="javascript:void(0)">白酒专场</a></li>
				<li><a href="javascript:void(0)">红酒专场</a></li>
				<li><a href="javascript:void(0)">洋酒专场</a></li>
				<li><a href="javascript:void(0)">整箱专场</a></li>
				<li><a href="javascript:void(0)">新品驾到</a></li>
				<li class="shopcar">
					<a href="../shopcar/shopcar.html"><span class="myshopcar">我的购物车</span></a>
					<span class="shopcar_zero"></span>
					<div class="jieshuan">
						<p>购物车内暂未添加产品, 您可以尽情选购, 祝您购物愉快!</p>
						<div>共<span class="jianshu">0</span>件商品&nbsp;共计<span class="jiaqian">￥0.00</span><input type="button" value="去购物车结算"/></div>
					</div>
				</li>
			</ul>
		</div>
	</div>
</div>
<script type="text/javascript">
	/*$(".shopcar").find("a").hover(function(){
		$(this).parent().find(".jieshuan").show();
	},function(){
		$(this).parent().find(".jieshuan").hide();
	})*/
	$(".shopcar").find("a").on("mouseenter",function(){
		$(this).parent().find(".jieshuan").show();
	})
	$(".jieshuan").on("mouseenter",function(){
		$(this).show();
	})
	$(".shopcar").find("a").on("mouseleave",function(){
		$(this).parent().find(".jieshuan").hide();
	})
	$(".jieshuan").on("mouseleave",function(){
		$(this).hide();
	})
	$(".jianshu").parent().find("input").on("click",function(){
		window.location = "../shopcar/shopcar.html";
	})
	//头部同步
	doesLogin();
	function doesLogin(){
		var myUserName = "myUserName";
		var myPwd = "myPwd"
		var isLogin = "isLogin";
		if(getCookie(isLogin) == 1){
			$(".login").html('欢迎您,' + getCookie(myUserName));
			$(".register").html('|&nbsp;<a href="javascript:void(0)" id="cancel">退出</a>')
		}else{
			$(".login").html('<a href="registerlogin/login.html">请登录</a>');
			$(".register").html('<a href="registerlogin/register.html">免费注册</a>');
		}
		$("#cancel").on("click",function(){
			if(getCookie(isLogin) == 1){
				updateCookie(isLogin,"0");
			}
		})
	}
</script>





